package com.clothing.service;

import com.clothing.entity.LeaveMessage;
import com.clothing.utils.page.Page;
import com.clothing.utils.page.Pageable;

/**
 * @ClassName: LeaveMessageService 
 * @Description: TODO(Service) 
 * @author Charles.Tao 
 * @date 2017年9月6日 下午3:42:45 
 * @version 1.0
 */
public interface LeaveMessageService extends BaseService<LeaveMessage, Long>
{
    /**
     * @Title: findPageByUser 
     * @Description: TODO() 
     * @param @param userId
     * @param @param pageable
     * @param @return 设定文件 
     * @return Page<LeaveMessage> 返回类型  
     * @throws
     */
    Page<LeaveMessage> findPageByUser(Long userId, Pageable pageable);

    /**
     * @Title: findOne 
     * @Description: TODO(查询消息) 
     * @param @param userOne
     * @param @param userTwo
     * @param @return 设定文件 
     * @return LeaveMessage 返回类型  
     * @throws
     */
    LeaveMessage findOne(Long userOne, Long userTwo);
}
